import Vue from 'vue'
import Router from 'vue-router'
import setting from '@/components/setting'
import wechat from  '@/components/wechat'
import menu from  '@/components/menu'
Vue.use(Router)
// 路由规则
export default new Router({
  routes: [
    {
      path: '/setting',
      component: setting
    },
    {
      path: '/setting/wechat',
      component: wechat
    },
     {
      path: '/setting/wechat/menu',
      component: menu
    }
  ]
})
